package com.alphathink.deliveryassist.eneity;

import java.util.List;

public class Contact extends ContactModel {

	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */

	private static final long serialVersionUID = -7150051724834128801L;
	private List<ContactBean> beans = null;

	private String Code;

	@Override
	public String getCode() {
		return Code;
	}

	@Override
	public void setCode(String code) {
		Code = code;
	}

	public Contact() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Contact(String code) {
		super(code);
		// TODO Auto-generated constructor stub
	}

	public Contact(List<ContactBean> beans, String code) {
		super();
		this.beans = beans;
		this.Code = code;
	}

	public List<ContactBean> getBeans() {
		return beans;
	}

	public void setBeans(List<ContactBean> beans) {
		this.beans = beans;
	}

	@Override
	public String toString() {
		return "Contact [beans=" + beans + "]";
	}

}
